﻿namespace OT.HikiSecureCenterApis.Service.OneCard.Res
{
    public class ResVisDevice
    {
        /// <summary>
        /// 资源类型
        /// </summary>
        public string resourceType { get; set; }
        /// <summary>
        /// 资源唯一编码
        /// </summary>
        public string indexCode { get; set; }
        /// <summary>
        /// 资源名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 设备系列
        /// </summary>
        public string deviceType { get; set; }
        /// <summary>
        /// 设备型号
        /// </summary>
        public string deviceModel { get; set; }
        /// <summary>
        /// 主动设备编号
        /// </summary>
        public string deviceCode { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public string dataVersion { get; set; }
        /// <summary>
        /// 厂商
        /// </summary>
        public string manufacturer { get; set; }
        /// <summary>
        /// 设备长号
        /// </summary>
        public string longNum { get; set; }
        /// <summary>
        /// 所属区域
        /// </summary>
        public string regionIndexCode { get; set; }
        /// <summary>
        /// 所属区域路径,以@符号分割，包含本节点
        /// </summary>
        public string regionPath { get; set; }
        /// <summary>
        /// 接入协议，详见附录A.6 编码设备接入协议
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#d4852837
        /// </summary>
        public string treatyType { get; set; }
        /// <summary>
        /// 安装位置
        /// </summary>
        public string installLocation { get; set; }
        /// <summary>
        /// 0非主管理机
        /// </summary>
        public int visMainManager { get; set; }
        /// <summary>
        /// 设备的序列号
        /// </summary>
        public string devSerialNum { get; set; }
        /// <summary>
        /// 显示顺序
        /// </summary>
        public int sort { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string updateTime { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 状态小于0则资源已删除
        /// </summary>
        public int status { get; set; }
    }
}
